/*
 * Laser.h
 *
 *  Created on: Nov 19, 2012
 *      Author: ryan2
 */

#ifndef LASER_H_
#define LASER_H_
#include <iostream>
#include "GuiTools.h"
#include "SpaceTrader.h"
#include <vector>
#include <fstream>

class Laser
{
private:
	SDL_Rect bounds;
	int xVel, yVel;
	SDL_Surface *icon;
    bool isDestroyed;
public:
	Laser(int x, int y, int yVel, const std::string image);
    Laser(int x, int y, int xVel, int yVel, const std::string image);

	void move();

	void show(SDL_Surface *screen);

	int getX();

	int getY();

	int getW();
    
    void destroy();
    
    SDL_Rect getBounds();
};



#endif /* LASER_H_ */
